<template>
  <div>
    <h2 @click="showName">{{name}}</h2>
    <h3>{{address}}</h3>
  </div>
</template>

<script>
import {mixin} from '../mixin'

export default {
    name:'School',
    data() {
        return {
            name: '东安一中',
            address: '东安县'
        }
    },
    mixins:[mixin]
}
</script> 